var swiper = new Swiper('.lg-swiper', {
    autoplay: 3000,
    pagination: '.pagination-inner',
    paginationClickable: '.swiper-pagination',
    nextButton: '.swiper-button-next',
    prevButton: '.swiper-button-prev',
    spaceBetween: 30,
    loop:true,
    effect:'fade'
});
if($(".full-swiper .swiper-slide").length>3)
{
    var swiper = new Swiper('.full-swiper', {
        //autoplay: 5000,
        slidesPerView: 3,
        paginationClickable: true,
        spaceBetween: 15,
        initialSlide :1,
        loop:true,
        nextButton: '.swiper-button-next',
        prevButton: '.swiper-button-prev',
        onSlideChangeEnd:function(swiper)
        {
            swiper.unlockSwipes();
        },
        onSlideChangeStart: function(swiper){
            $(".full-swiper .swiper-slide").removeClass("swiper-no-gray");
            $(".full-swiper .swiper-slide-active").addClass("swiper-no-gray");
            $(".full-swiper .swiper-slide-active").next().addClass("swiper-no-gray");
            $(".full-swiper .swiper-slide-active").next().next().addClass("swiper-no-gray");
            swiper.lockSwipes();

        }
    });
}
else {
    $(".full-swiper .swiper-slide").addClass("swiper-less");
}

tab1($('.wonderful-tab .tab-tit a'),$('.wonderful-tab .tab-li'),'active','click');